<script setup lang="ts">
import {useRouter} from 'vue-router'
const router = useRouter()
</script>


<template>
    <div>
        <div>
            <button @click="router.push('/canvas/hello')">hello</button>
            <button @click="router.push('/canvas/triangle')">三角形</button>
            <button @click="router.push('/canvas/image')">图像</button>
            <button @click="router.push('/canvas/game')">游戏</button>
            <button @click="router.push('/canvas/fabric')">画布</button>
            <button @click="router.push('/canvas/three')">three</button>
        </div>
        <router-view></router-view>
    </div>
</template>


<style scoped>

</style>    